﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Landscape.Business.Entities
{
    public class Vessel
    {
        public Vessel()
        {
            //this.ID = -1;
            this.ID = Guid.Empty;
            this.Attachments = new List<FileAttachment>();
            this.Users = new List<UserMaster>();
            this.Items = new List<VesselMachine>();
        }

        public virtual Guid ID
        { get; set; }

        public virtual int RecordNum
        { get; set; }

        public virtual string Name
        { get; set; }

        public virtual string ShortName
        { get; set; }

        public virtual string ImoNumber
        { get; set; }

        public virtual string CallSign
        { get; set; }

        public virtual string HullNo
        { get; set; }

        public virtual string PortOfRegistry
        { get; set; }

        public virtual string Flag
        { get; set; }

        public virtual string InmarsatPhoneNo
        { get; set; }

        public virtual string Fax
        { get; set; }

        public virtual string EMail
        { get; set; }

        public virtual string DbSyncMail
        { get; set; }

        public virtual string ClassificationSociety
        { get; set; }

        public virtual bool IsDisabled
        { get; set; }

        public virtual bool IsReleased
        { get; set; }

        public virtual DateTime? ReleasedDate
        { get; set; }

        public virtual Guid ReleasedBy
        { get; set; }

        public virtual bool IsDeleted
        { get; set; }

        public virtual Guid CreatedBy
        { get; set; }

        public virtual DateTime CreatedDate
        { get; set; }

        public virtual Guid UpdatedBy
        { get; set; }

        public virtual DateTime UpdatedDate
        { get; set; }

        public virtual Template SystemsTemplate
        { get; set; }

        public virtual IList<FileAttachment> Attachments
        { get; set; }

        public virtual IList<UserMaster> Users
        { get; set; }

        public virtual IList<VesselMachine> Items
        { get; set; }
    }
}
